<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var score=prompt("请输入赵本山的成绩");
        switch(true){
            case score==100:
                document.write("好孩子!!!爸爸给你买辆车!")
                break;
            case score>=90:
                document.write("还行吧,让你妈给你买个MP4")
                break;
            case score>=60&&score<90:
                document.write("给你买本参考书好好学习一下")
                break;
            case score<60:
                document.write("考这么差,还想买东西!吃毒打吧你!")
                break;
            default:
                document.write("把你的分数填上!")
        }
    </script>
</body>
</html>